import time

def slow(n):
    s = 0
    for i in range(n):
        s += sum([j*j for j in range(100)])
    return s

if __name__ == "__main__":
    t0 = time.time()
    print(slow(1000))
    print("elapsed", time.time()-t0)
